package com.hzz.controller;

import com.hzz.dto.HelloDto;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ：hzz
 * @description：TODO
 * @date ：2021/6/28 9:29
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @PostMapping("/hello")
    public String test(HelloDto helloDto){
        return "hello";
    }
}
